package com.zhai.domain.strategy.model.valobj;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description: 权重规则VO
 * @ClassName: RuleWeightVO
 * @Author: zhaiyongxin
 * @Date: 2025/6/5 17:05
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RuleWeightVO {
    /**
     * 原始规则配置
     */
    private String ruleValue;

    /**
     * 权重
     */
    private Integer weight;

    /**
     * 奖品列表
     */
    private List<Award> awardList;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class Award {
        private Integer awardId;
        private String awardTitle;
    }

}
